package com.bestcem.xm.survey.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * @TableName ds_survey_custommeta
 */
@TableName(value ="ds_survey_custommeta")
@Data
@EqualsAndHashCode(callSuper = true)
public class SurveyCustomMeta extends BaseEntity2 {
    /**
     * 
     */
    @TableId(value = "id")
    private String id;

    /**
     * 问卷ID
     */
    @TableField(value = "project_id")
    private String projectId;

    /**
     * 自定义数据编码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 索引字段
     */
    @TableField(value = "indexes")
    private String indexes;

    /**
     * 数据是否唯一
     */
    @TableField(value = "unique")
    private Integer unique;

    /**
     * 有限状态机
     */
    @TableField(value = "fsm")
    private String fsm;

    /**
     * 密钥
     */
    @TableField(value = "secret_key")
    private String secretKey;

    /**
     * 版本号
     */
    @TableField(value = "version")
    private Integer version;
}